package com.todo.pro.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhongXia
 * @since 2018-09-09
 */
@TableName("td_baidu_app")
public class BaiduApp implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 应用名称
     */
    @TableField("app_name")
    private String appName;
    /**
     * 应用ID
     */
    @TableField("app_id")
    private String appId;
    /**
     * APPKEY
     */
    @TableField("app_key")
    private String appKey;
    /**
     * SECRETKEY
     */
    @TableField("secret_key")
    private String secretKey;
    /**
     * 使用状态
     */
    private Integer used;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public Integer getUsed() {
        return used;
    }

    public void setUsed(Integer used) {
        this.used = used;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BaiduApp{" +
        ", id=" + id +
        ", appName=" + appName +
        ", appId=" + appId +
        ", appKey=" + appKey +
        ", secretKey=" + secretKey +
        ", used=" + used +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
